package com.rj2002.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.rj2002.pojo.Goods;

public interface GoodsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Goods record);

    int insertSelective(Goods record);

    Goods selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Goods record);

    int updateByPrimaryKeyWithBLOBs(Goods record);

    int updateByPrimaryKey(Goods record);

	List<Goods> selectAll(@Param("goodsname") String goodsname);

	List<Goods> selectAllUser(Goods goods);
}